
package com.uuah.server.api.transport;

import com.uuah.api.lifecycle.IDisposable;
import com.uuah.api.lifecycle.IStartable;
import com.uuah.api.lifecycle.IStoppable;
import com.uuah.api.lifecycle.Initialisable;

/**
 * Interface for objects that should connect to a resource.
 *
 * <p>update record:updator，update time，update content and version</p>
 * @author <a href="jonny_quan@hotmail.com">jonny</a>
 * @date 2009 2009-3-27 上午12:10:54
 * @version 1.0.0
 */
public interface IConnectable extends Initialisable, IDisposable, IStartable,
		IStoppable {

	void connect() throws Exception;

	void disconnect() throws Exception;

	boolean isConnected();

	String getConnectionDescription();
}
